package com.itheima.day12;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

//在某个目录下创建 1000万个记事本
    public class Test01 {
    public static void main(String[] args) throws IOException {
        //create();

    }

    private static void create() throws IOException {
        File file = new File("d:\\abc");
        file.mkdirs();
        for (int i = 0; i < 1000; i++) {

            File file1 = new File(file, i + ".txt");
            file1.createNewFile();
        }
    }


}
